package com.wywah.yunduo.security.supports.employee;

import com.wywah.yunduo.security.supports.custom.YunduoCustomAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.oauth2.core.AuthorizationGrantType;

import java.util.Map;
import java.util.Set;

/**
 * 用户名密码授权token信息
 */
public class OAuth2EmployeeAuthenticationToken extends YunduoCustomAuthenticationToken {

    public OAuth2EmployeeAuthenticationToken(AuthorizationGrantType authorizationGrantType,
                                             Authentication clientPrincipal, Set<String> scopes,
                                             Map<String, Object> additionalParameters) {
        super(authorizationGrantType, clientPrincipal, scopes, additionalParameters);
    }


}
